Wayland: fix a crash in opaque region handling
authorMatthias Clasen <mclasen@redhat.com>
Tue, 15 Oct 2013 22:19:22 +0000 (18:19 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 15 Oct 2013 22:21:44 +0000 (18:21 -0400)
commit73bae5b816e3f55fc3bd85f10c406966a75443ed
tree794768b070ba97482dc370bee8bc8bc765c6a38a
parentdb7115d841fc148bc9c146a7a196e31fdafec195
Wayland: fix a crash in opaque region handling

We may get a NULL region passed to the backend, which means
'nothing is opaque'. In that case, don't crash, but pass
the information on to the compositor.

http://bugzilla.gnome.org/show_bug.cgi?id=709854
gdk/wayland/gdkwindow-wayland.c